#include<iostream>
using namespace std;

class Point {
    private:
        float x,y;
    public:
        Point(float x = 0,float y = 0) {
            this->x = x;
            this->y = y;
        }

        static void info() {
            cout << "info" << endl;
        }

        const int getX() {
            return x;
        }

        int getY() const {
            return y;
        }
};

class Base {
    private:
        int x;
        const int y;
        static int z;
        const int &r;
        const static int w;
        const Point a;
        Point const b;

    public:
        Base(int,int,int);
        void show(){
            cout << "x = " << x << ",y = " << y << ",z = " << z
                << ",r = " << r << endl;
            b.info();
            //b.getX();
            b.getY();
            Point::info();
            Point::getX();
        }

        void display(const double & r) {
            //r = 8;
            cout << r << endl;
        }
};

int Base::z = 3;
const int Base::w = 4;
Base::Base(int a,int b,int c):y(b),r(x),b(a,b){
    x = a;
}

int main() {
    Point b(1,2);
    return 0;
}
